package com.chengh.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chengh.common.utils.PageUtils;
import com.chengh.gulimall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author chengh
 * @email 13593651219@163.com
 * @date 2020-04-06 20:34:33
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttrs(List<ProductAttrValueEntity> attrValueEntities);

    List<ProductAttrValueEntity> baseAttrListforspu(Long spuId);

    void updateApuAttr(Long spuId, List<ProductAttrValueEntity> productAttrValueEntitys);
}

